package cn.vehicle.domains.vo.req.sysRole;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "添加角色权限请求参数")
public class AddRolePermissionReq {

    @Schema(name = "roleId", description = "角色id")
    @NotNull(message = "角色id不能为空")
    private Long roleId;

    @Schema(name = "permissionIds", description = "权限id列表")
    @NotNull(message = "权限id列表不能为空")
    private List<Long> permissionIds;
}
